package com.zhai.infrastructure.persistent.dao;

import com.zhai.infrastructure.persistent.po.RaffleActivity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 抽奖活动Dao
 * @author zhai
 */
@Mapper
public interface IRaffleActivityDao {

    List<RaffleActivity> queryRaffleActivityList();

    RaffleActivity queryRaffleActivityByActivityId(Long activityId);

    Long queryStrategyIdByActivityId(Long activityId);

    Long queryActivityIdByStrategyId(Long strategyId);
}
